<script setup lang="ts">
import Camera from "./components/Camera.vue";
import SettingPage from "./components/SettingPage.vue";

import {showSettingView} from "./store";
</script>

<template>
  <Suspense>
    <main>
      <SettingPage v-show="showSettingView"/>
      <Camera v-show="!showSettingView"/>
    </main>
  </Suspense>

</template>
